import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SPublicMiniPlayer } from "../Public/SPublicMiniPlayer";
type int = number;
//class SGuildPlayer
    
    export  class SGuildPlayer
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.miniPlayer.__write(arg1);
            arg1.writeInt(this.position);
            arg1.writeInt(this.contributionDay);
            arg1.writeInt(this.contributionWeek);
            arg1.writeInt(this.totalContribution);
            arg1.writeDate(this.lastLogoutDt);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.miniPlayer = new SPublicMiniPlayer();
            this.miniPlayer.__read(arg1);
            this.position = arg1.readInt();
            this.contributionDay = arg1.readInt();
            this.contributionWeek = arg1.readInt();
            this.totalContribution = arg1.readInt();
            this.lastLogoutDt = arg1.readDate();
            return;
        }

        public /* var */miniPlayer: SPublicMiniPlayer;

        public /* var */position: int;

        public /* var */contributionDay: int;

        public /* var */contributionWeek: int;

        public /* var */totalContribution: int;

        public /* var */lastLogoutDt: Date;
    }
